<div class="grid_12">
	<div class="box">
		<div><a href="<?=n_url('upload')?>&db=<?=$data['db']?>">上传</a></div>
		<table class="list">
			<tr>
				<!--<th>id</th>-->
				<th>文件名</th>
				<th>尺寸</th>
				<th>时间</th>
				<th>发布人</th>
				<th>操作</th>

			</tr>
		
			<?php
		
			if(!empty($data['list'])){
			foreach($data['list'] as $key=>$val){
			?>
			<tr>
				<!--<td><?=$val['id']?></td>-->
				<td><?=$val['filename']?></td>
				<td><?=$val['size']?></td>
				<td><?=date('Y-m-d H:i:s',$val['ctime'])?></td>
				<td><?=$val['uid']?></td>

				<td>
					<a href="<?=n_url('getPic')?>&db=<?=$data['db']?>&id=<?=$val['id']?>">下载</a>
					
				</td>
			</tr>
			<?php
			}
			}
			?>
		</table>
	</div>
</div>